package org.tea.crawl.biz.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springframework.data.annotation.Id;

import java.time.OffsetDateTime;
import java.util.Date;

/**
 * @author lxh
 */
@TableName("cookie_info")
public class CookieInfoEntity {

    @Id
    @TableId
    @TableField("id")
    private Long id;

    @TableField("cookie_type")
    private String cookieType;

    @TableField("cookie_value")
    private String cookieValue;

    @TableField("use_status")
    private Integer useStatus;

    @TableField("last_acquire_time")
    private Date lastAcquireTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCookieType() {
        return cookieType;
    }

    public void setCookieType(String cookieType) {
        this.cookieType = cookieType;
    }

    public String getCookieValue() {
        return cookieValue;
    }

    public void setCookieValue(String cookieValue) {
        this.cookieValue = cookieValue;
    }

    public Integer getUseStatus() {
        return useStatus;
    }

    public void setUseStatus(Integer useStatus) {
        this.useStatus = useStatus;
    }

    public Date getLastAcquireTime() {
        return lastAcquireTime;
    }

    public void setLastAcquireTime(Date lastAcquireTime) {
        this.lastAcquireTime = lastAcquireTime;
    }
}
